﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace DFGK_WMS.Model.DTO
{
    /// <summary>
    /// 盘点计划表
    /// </summary>
    public class StocktakingPlanDto
    {
            public int Id { get; set; }
            /// <summary>
            /// 计划单号
            /// </summary>
            public string BillSn { get; set; }
            /// <summary>
            /// 计划名称
            /// </summary>
            public string Name { get; set; }
            /// <summary>
            /// 盘点计划开始时间
            /// </summary>
            public DateTime? BeginDate { get; set; }
            /// <summary>
            /// 盘点计划结束时间
            /// </summary>
            public DateTime? EndDate { get; set; }
            /// <summary>
            /// 库房Id
            /// </summary>
            public int? WarehouseId { get; set; }
            /// <summary>
            /// 库房
            /// </summary>
            public string WarehouseName { get; set; }
            /// <summary>
            /// 库区Id
            /// </summary>
            public int? AreaId { get; set; }
            /// <summary>
            /// 库区
            /// 
            /// </summary>
            public string AreaName { get; set; }
            /// <summary>
            /// 状态：0-新建;10-已审核;20-已生成盘点单；30-取消作废；
            /// </summary>
            public int? Status { get; set; }
            /// <summary>
            /// 盘点计划：10-普通抽盘；20-临时抽盘；30-紧急抽盘；40-货主抽盘；50-库区抽盘；
            /// 
            /// </summary>
            public int? PlanType { get; set; }
            /// <summary>
            /// 重复盘点：0-全部盘点；10-不盘30天已盘点的库区；20-不盘15天已盘点的库区；30-不盘7天内已盘点的库区；
            /// </summary>
            public int? Repeat { get; set; }
            /// <summary>
            /// 盘点工具：10-机器盘点；20-PDA；30-纸质；40-自定义；
            /// 
            /// </summary>
            public int? Means { get; set; }
            /// <summary>
            /// 单盘最大库位数
            /// 
            /// </summary>
            public int? MaxLocationCount { get; set; }
            /// <summary>
            /// 盘点粒度：0-全部盘点；10-抽查盘点（5%库位）；20-抽查盘点（25%库位）；30-抽查盘点（50%库位）
            /// </summary>
            public int? Granularity { get; set; }
            /// <summary>
            /// 货主Id
            /// </summary>
            public int? OwnerId { get; set; }
            /// <summary>
            /// 货主
            /// </summary>
            public string OwnerName { get; set; }
            /// <summary>
            /// 货品ABC流通选项：0-A;1-B;2-C；可多选，逗号隔开
            /// </summary>
            public string GoodsAbc { get; set; }
            /// <summary>
            /// 指定货品Id,多个逗号隔开
            /// </summary>
            public string GoodsIds { get; set; }
            /// <summary>
            /// 指定货品名称
            /// </summary>
            public string GoodsNames { get; set; }
            /// <summary>
            /// 备注
            /// </summary>
            public string Remark { get; set; }
            /// <summary>
            /// 创建人
            /// </summary>
            public DateTime? CreateDate { get; set; }
            /// <summary>
            /// 修改人
            /// </summary>
            public int? ModifyUserId { get; set; }
            /// <summary>
            /// 修改时间
            /// </summary>
            public DateTime? ModifyDate { get; set; }
            public int? CreateUserId { get; set; }
            public string? CreateUserName { get; set; }
        }
    }
